/*
 *
 Confidential and Proprietary                                                                
 Copyright 2008 By                                                                                     
 SGAI & Hewlett-Packard Development Company, L.P. 	              
 All Rights Reserved                                                                                  

 Project Name : SGAI  MES                                                                                                                                       
 Class Name   : UUIDGenerator.java    
 Package      : com.hp.common.util    
 */
package com.erdos.common.util;

import org.apache.commons.id.IdentifierGenerator;
import org.apache.commons.id.uuid.VersionFourGenerator;

/**
 * provides generator of UUID.                                                              
 @version     $Id: UUIDGenerator.java 9124 2012-03-08 03:00:56Z hubin $                                                          
 @author sunf
 @since  2008-8-19 
 */
public class UUIDGenerator {
	private static final IdentifierGenerator idGenerator=new VersionFourGenerator();
	public static String nextIdentifier() {		
		return idGenerator.nextIdentifier().toString();
	}
}
